package com.ynet.hmds28.movie.dao;

import com.ynet.hmds28.movie.model.Cinema;
import com.ynet.hmds28.movie.model.CinemaQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CinemaDao {
    int countByExample(CinemaQuery example);

    int deleteByExample(CinemaQuery example);

    int deleteByPrimaryKey(String cinemaid);

    int insert(Cinema record);

    int insertSelective(Cinema record);

    List<Cinema> selectByExample(CinemaQuery example);

    Cinema selectByPrimaryKey(String cinemaid);

    int updateByExampleSelective(@Param("record") Cinema record, @Param("example") CinemaQuery example);

    int updateByExample(@Param("record") Cinema record, @Param("example") CinemaQuery example);

    int updateByPrimaryKeySelective(Cinema record);

    int updateByPrimaryKey(Cinema record);
}